#include <iostream>
#include <vector>

int main() {
    for (int i = 1; i <= 10; i++) {
        for (int j = 1; j <= 10; j++) {
            if (j == 5) {
                break;
            }
            std::cout << i << "," << j << std::endl;
        }
    }
   
    return 0;
}
